#ifndef ARRAY_H
#define ARRAY_H
#include <iostream>

class Array{
		
	
	private:
		int size;
		int *ptr;
		
	public:
		friend std::ostream& operator<<(std::ostream&,const Array&);
		friend std::istream& operator>>(std::istream&,Array&);
		Array(int =10);
		~Array();
		void afisare();
		int getSize()const;
		const Array& operator =(const Array&);
		bool operator ==(const Array&)const;
		bool operator !=(const Array &right)const{
			return !(*this==right);
		}
		int &operator[](int);
		int operator[](int)const;
		
};

#endif
